You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This PR proposes a change that modifies the lerna command that is in charge of versioning. This command is executed as part of the release action/workflow. The change in this PR adds two flags that allow to perform pre-releases with a custom suffix.
The two flags added are:
--conventional-prerelease
--preid rc, this flag allows to set a custom suffix so that pre-releases will look like 0.11.0-rc.0
The documentation for both flags can be found here.
How to verify this change
npx lerna version --conventional-commits --force-publish --conventional-prerelease --preid rc --yes
lerna notice cli v4.0.0
lerna info current version 0.10.0
lerna WARN force-publish all packages
lerna info Assuming all packages changed
lerna info getChangelogConfig Successfully resolved preset "conventional-changelog-angular"
Changes:
- cdk-app: 0.10.0 => 0.11.0-rc.0
- powertools-typescript-sam-example: 0.10.0 => 0.11.0-rc.0
- @aws-lambda-powertools/commons: 0.10.0 => 0.11.0-rc.0
- @aws-lambda-powertools/logger: 0.10.0 => 0.11.0-rc.0
- @aws-lambda-powertools/metrics: 0.10.0 => 0.11.0-rc.0
- @aws-lambda-powertools/tracer: 0.10.0 => 0.11.0-rc.0
... Additional log entries removed for brevity's sake
Related issues, RFCs
N/A
PR status
Is this ready for review?: YES Is it a breaking change?: NO
internalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)
3 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of your changes
This PR proposes a change that modifies the
lerna
command that is in charge of versioning. This command is executed as part of therelease
action/workflow. The change in this PR adds two flags that allow to perform pre-releases with a custom suffix.The two flags added are:
--conventional-prerelease
--preid rc
, this flag allows to set a custom suffix so that pre-releases will look like0.11.0-rc.0
The documentation for both flags can be found here.
How to verify this change
Related issues, RFCs
N/A
PR status
Is this ready for review?: YES
Is it a breaking change?: NO
Checklist
Breaking change checklist
N/A
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.